package com.hr.system.service.impl;

import com.hr.system.domain.SysUserRole;
import com.hr.system.mapper.SysUserRoleMapper;
import com.hr.system.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

public class SysUserRoleServiceImpl implements SysUserRoleService {

    @Resource
    private SysUserRoleMapper userRoleMapper;

    @Override
    public int updateUserRoleById(SysUserRole userRole) {
        return userRoleMapper.updateUserRoleById(userRole);
    }
}
